#include "PWELDData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator== (const PWELDData& val1, const PWELDData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_MID)
    FIELD_COMPARE (m_D)
    FIELD_COMPARE (m_CONNBEH)
    FIELD_COMPARE (m_CONNTYPE)
    FIELD_COMPARE (m_EXTCON)
    FIELD_COMPARE (m_CONDTYPE)
    FIELD_COMPARE (m_WELDTYPE)
    FIELD_COMPARE (m_MINLEN)
    FIELD_COMPARE (m_MAXLEN)
    FIELD_COMPARE (m_GMCHK)
    FIELD_COMPARE (m_SPCGS)
    FIELD_COMPARE (m_CMASS)
    FIELD_COMPARE (m_domainId)
    return true;
}